Move scopeName to top