Added int variable for intendedroute to indicate active wp