Just a simple quick thing for people, if you add this line under the "transform.eulerAngles = old;" line then the wheel will spawn upright, not sideways. Meaning the flipper is up the top, not on the right.
transform.Rotate(0.0f, -90.0f, 0.0f, Space.Self);