fixed the symlink
refactored the dependancy scanner be purer