modify build script for simplicity