Changed Errorf to Fatalf to report errors early.