Add --with-sqlapi-port switch
Add --environment switch to restrict output to given env