Updated prereq detection