open (STDERR, ">", $errorLog) or die "Error: couldn't redirect STDERR to $errorLog: $!\n";