Changes file permissions
Upates config