adding the ability to run other scripts from the main script, fixed bug with outputting to new directories, starting to add example C++ generating scripts