Fix variable name bug that prevented zipfile generation