ADDED permissions code and icon