Allowed the cgi to be configurable.