Edited to remove unnecessary permissions