Fix private tag finding logic.
Add sample profile setting.