Made changes in worker role and un commented report generation