Cleaned up the privileges and added them to the config.xml file