Fixed minorbug with path to configfile.