diff --git a/burpui/app.py b/burpui/app.py
index ec09189b..a7476577 100644
--- a/burpui/app.py
+++ b/burpui/app.py
@@ -74,8 +74,10 @@ def create_db(myapp, cli=False, unittest=False, create=True):
not cli and not unittest:
if create:
import subprocess
+ local = os.path.join(os.getcwd(), '..', 'bui-manage')
+ buimanage = local if os.path.exists(local) else 'bui-manage'
cmd = [
- 'bui-manage',
+ buimanage,
'-c',
myapp.config['CFG'],
'db',
diff --git a/burpui/templates/calendar.html b/burpui/templates/calendar.html
index 1b14f91d..48eda14d 100644
--- a/burpui/templates/calendar.html
+++ b/burpui/templates/calendar.html
@@ -13,7 +13,17 @@
{% endif -%}
-