Write out additions to the real sql files as well