SQLSRV to MSSQL change

Changing all of the code to function on Ubuntu