Found out how to get dependencies. It was much easier than I thought. Need to resolve non-installed packages being listed as well as figure out why iterateing displays duplicates