Fixed configuration file loading.
Added additional error printing on missing folder.