changed output log name to match corresponding program name.