set dir in pepcheck to base route, add a timeout to selenium