set up staging and route