How to wire a magneto