how state governor is appointed