Added logfile and PID file options