Added run functionality to the build tool