Change to using 'with settings' for setting host on invocations