Fixed minor bug in config script