Updated permissions for update script.
Made update script remove itself upon finish.