cleaning changes to get cgi file