regex tweak for prereq
more tweaks
recursive prereq implementation