#!/usr/bin/env php Error: You are using PHP for CGI. To execute substitutionReplace.php from command line, you must use PHP for CLI mode.