Move command generation