adding resource path to config files.