sweave tpbuild script