new class to generate command based on the detected strip position.