Use the same code for sandbox and production connections.