Enabled the connection to be set on the command with the proper connection before execution