modified the extension a bit, cleaned up, removed unneeded permissions