Hi, Just wondering if you could provide some code examples on how to: - properly set up a generator - create a generator Thanks in advance!