Now exports as SQL file ready to run