improved build script a little