Added som AUTOMODE stuff. Try to detect turns