open (STDERR, ">>error.log") or die "Cannot redirect STDERR to error.log file";