Updated template match program and config file