Moved the SQL Connection