Rebuilding in the Aftermath of an Earthquake