Added customizable route functionality