Recursion bug solved, need to add a hook to check for other packages that depend on the same automatic package and whatnot. Code needs some major cleanup after tonight's mess...