added directory existace verification for those specified in the config file