Added code to set bonus amount for workers
Set avg reward to be bonus amount rather than total