Add parameters to master and worker events