how to run cgi script from command line