add check if folders exist