add makenetwork functions to cgi