In the process of fixing some things
Fix output.sql