Set programs to end properly using terminator