add profile to scopes. fixes #50

@jrgm r?