Created a working homing command sequence.