Added option to ignore environment issues and rewrote part of the generation scripts for easier generator creation.
Minor bug fixes from end-to-end testing.