added automated run code to build.xml