Fixed and added some permissions/