Adds more useful SQL to file