added cgi and init file