added new permission to check what kind of device its running on