Auto mode now works