improved build process