connect commands to engine