Updated deployment script, permissions, rego form