add automatic build script