Corrected shebang to /bin/sh to work under boot2docker, Corrected SCRIPT_DIR setting (if no path on SCRIPT variable)