Sorting up the update script to be executable from anywhere