Added scopes and modified scope requirement to use spaces.