working build script, builds correct bvh files