add a flag for the pid file