Added fix_permissions file