diff --git a/start.sh b/start.sh
index 92cbdb7..598c02b 100755
--- a/start.sh
+++ b/start.sh
@@ -1,5 +1,8 @@
 #!/bin/bash
 (
+SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
+cd $SCRIPTPATH
+
 KEYS=$(/usr/bin/env python ssh.py)
 IFS=';'
 read -d '' -ra SPLITKEYS < <(printf '%s;\0' "$KEYS")