better checks / error messages for configs dirs