function dispatch(
    uint256 action,
    bytes calldata data,
    uint256[] memory callStack
) internal override returns (bool success, bytes memory output) {
    success = true;
    // Extract the action ID from the lowest 32 bits using bitwise AND with mask
@>  uint32 actionToExecute = uint32(action & Commands.THIRTY_TWO_BITS_MASK);

    // Extract input mapping from bits 32-63 by right shifting 32 bits and masking
    uint32 inputMapping = uint16((action >> 32) & Commands.THIRTY_TWO_BITS_MASK);

    // Extract output mapping from bits 64-95 by right shifting 64 bits and masking
    uint32 outputMapping = uint16(((action >> 64) & Commands.THIRTY_TWO_BITS_MASK));

    if (
        actionToExecute == Commands.V3_UNISWAP_SWAP ||
        actionToExecute == Commands.AERODROME_SWAP ||
        actionToExecute == Commands.V2_UNISWAP_SWAP
    ) {
        output = _handleSwap(data, callStack, inputMapping, outputMapping);
@>  } else if (action == Commands.PULL_TOKEN) {
        output = _handlePullToken(data, callStack, inputMapping);
    } else if (actionToExecute == Commands.PULL_TOKEN_FROM) {
        output = _handlePullTokenFrom(data, callStack, inputMapping);
    } ...
}
function dispatch(
    uint256 action,
    bytes calldata data,
    uint256[] memory callStack
) internal override returns (bool success, bytes memory output) {
    ...
    if (
        actionToExecute == Commands.V3_UNISWAP_SWAP ||
        actionToExecute == Commands.AERODROME_SWAP ||
        actionToExecute == Commands.V2_UNISWAP_SWAP
    ) {
        output = _handleSwap(data, callStack, inputMapping, outputMapping);
-    } else if (action == Commands.PULL_TOKEN) {
+    } else if (actionToExecute == Commands.PULL_TOKEN) {
        output = _handlePullToken(data, callStack, inputMapping);
    } else if (actionToExecute == Commands.PULL_TOKEN_FROM) {
        output = _handlePullTokenFrom(data, callStack, inputMapping);
    } ...
}
