Adding cmdmovement snippet