diff --git a/create.py b/create.py
index c292bf2..e2800fb 100644
--- a/create.py
+++ b/create.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
# encoding: utf-8
"""
diff --git a/info.plist b/info.plist
index e7d3e15..ae99ed2 100644
--- a/info.plist
+++ b/info.plist
@@ -82,7 +82,18 @@
runningsubtext
Searching...
script
- /usr/bin/python search.py "{query}"
+ #!/bin/bash
+
+if [ -e /usr/bin/python ]; then
+ py=/usr/bin/python
+elif [ -e /usr/bin/python3 ]; then
+ py=/usr/bin/python3
+else
+ echo "Couldn't find system python"
+ exit 1
+fi
+
+$py search.py "{query}"
scriptargtype
0
scriptfile
@@ -179,7 +190,18 @@ fi
runningsubtext
Searching...
script
- /usr/bin/python search.py -t a "{query}"
+ #!/bin/bash
+
+if [ -e /usr/bin/python ]; then
+ py=/usr/bin/python
+elif [ -e /usr/bin/python3 ]; then
+ py=/usr/bin/python3
+else
+ echo "Couldn't find system python"
+ exit 1
+fi
+
+$py search.py -t a "{query}"
scriptargtype
0
scriptfile
@@ -226,7 +248,18 @@ fi
runningsubtext
Searching...
script
- /usr/bin/python create.py "{query}"
+ #!/bin/bash
+
+if [ -e /usr/bin/python ]; then
+ py=/usr/bin/python
+elif [ -e /usr/bin/python3 ]; then
+ py=/usr/bin/python3
+else
+ echo "Couldn't find system python"
+ exit 1
+fi
+
+$py create.py "{query}"
scriptargtype
0
scriptfile
diff --git a/queries.py b/queries.py
index 5d7f8de..7dada67 100644
--- a/queries.py
+++ b/queries.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
# encoding: utf-8
"""
diff --git a/search.py b/search.py
index b653330..223b953 100644
--- a/search.py
+++ b/search.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
# encoding: utf-8
"""