modified to pull and build from trunk