Added chdir to WorkloadGenerator also in code listing