adding glue.cgi functions (incomplete)
 adding glue.cgi functions (incomplete)