added permissions to profile files