Added error and homing exportation functionality