minor script fix: temp dir removing uncommented, superfluous old code removed