add a scope index on dependencies