added local mode regex clause for passed in config files