make the generate option enqueue a job instead of doing heavy lifting