Set file permissions
Add enabled flag, set file permissions correctly