Removed references to Workorder table (changed to tickets). Updated permissions on all pages.