configure scope