Changed config file for hadling regex inside config file