syntax fix and permissions for deploy
minor syntax