Added support for rewards of gold, adding and removal of permissions for tasks