Factored out deployment settings, fixed the lingering connection issues