Added run function to build.xml