added matchdep to streamline dependency loading