Update undulator script

Added reference to north and south poles