fixed extensions for the cgi scripts, added cgi script for named scripts