attempting to add permissions to the application and failed miserably