Rename script
Some error handling in CGI script