can now pass in the domain and port as command line args