added use flag in routes