Regenerate SQL - tidy up config file