Got scopes to almost work correctly.