Add xpath generation script