make a standalone cgi