moved generator to root