added pid files to assist watchdog processes