Changes permissions on update script