modifications to autodrive in the-force.cpp