Original script
Check if being run as a script, so we can import as a module
Switch to four-space indent instead of tabs
Add option to expand preprocessor macros in USE statements
Remove extraneous imports
Add option to take list of files as input, rather than searching current directory