added build script for internal use