Changed generators path and added a require statement for generator