Adding the feature to handle scopes based on each application

Final newline missing.