modify permissions to make it deployable