updating permissions on deployment script