added command-line args to preprocessor script