add check for missing folders