Fixed bash scripts for more compatibility

/usr/bin/env should be available on all distro's (It's a standard). It automatically choses the right python2 installation to run the script.
Also added a hashbang (#!) to be able to run the script with "./script.sh" after adding the executable bit.