Bring in sql_querries from the attic