let xpath handle applications