changed cgi from github pages to localhost