The Root Connection Study is something I use to both train my ear and visualize the fretboard. Take your time and allow this exercise to show you how these scales connect. It's a pretty involved process but quite worth it when you start to see how these scale shapes piece together. Once mastered, you will be able to improvise anywhere on the neck without using box patterns or losing your place. Good luck!