environment agnostic router