Making fix_permissions optional