improved build file