Add robust parsing for the sql build python.
Adding 2012 to the config for building sql files and fixing ordering.