add folder checks