Adds more basic functionality to the cgi