Add workload generator code