check if folders exist before complaining