2 changes:
* hopefully fixed errors on creating tables
+ added stuff to collect logs and output