added scopes to URLs