moved build script to doc directory