Update with suggestions from Hadley
Change script permissions