changed file permissions and security