Adding the feature to handle scopes based on each application

Space between { and | missing.<br>Space missing inside }.