Update permission for script