Fixing error with SQL errors ;). Also adding option to specify host name