build script for sample project