def params = [dryRun : [true]] def dryRun = params['dryRun'] ? params['dryRun'][0] as boolean : false