Set entrypoint for generator