Add gen directory