Fixed a couple of bugs and extended the permissions command of the
General plugin