CRAY- Add -e option for the xtcleanup_after call.  Also made code more
modular.