modify build script a little