   queriesFile = _(program.args).first()
 
   config =
-    schema: program.schema ? 'postgres'
+    scheme: program.scheme ? 'postgres'
     host: program.host ? 'localhost'
     port: program.port ? 5432
     user: program.username ? 'postgres'

      if error?
        deferred.reject error
      else
        rows = if schema == 'mysql' then results else results.rows
        console.log "Result:\n", results.rows
        runQuery client, _.tail(queries), schema
        .then -> deferred.resolve 0
  else
    console.log "No queries remaining."

  deferred.promise

# Runs individual queries, logging the query and its results to the console
runQuery = (client, queries, scheme) ->
  deferred = Q.defer()
  if _(queries).size() > 0
    query = _(queries).first()
