Error: You are using PHP for CGI. To execute generate_filelist_xml.php from command line, you must use PHP for CLI mode.