abstract away env routes