show environment when program is terminated