improved build scripts