add scopes and all dependencies