Build script now removes TEX files