modified root route and test script