Added basic auto mode and switcher