Add pid and programname