Making sure that legacy mode is defaulted to on even when doing code only
routing
Closes #1641