In bash I am able to write a script that contains something like this:
{ time { #series of commands echo \"something\" echo \"another command\" echo \"blah
Try replace { with ( ? I think this should help