setting correct routes to dependencies