improve build process