A few fixes to run_update.sh

- script now works regardless of where the project is installed
- added a hashbang line