Adding the feature to handle scopes based on each application