Fixed a couple minor bugs with the creation script, and logging.