Fix pid file and allow additional configuration files