add profile scope to sample
Merge branch 'develop'