update download generator to account for nested/recursive dependency chains