added dates handling in config files