Purple Scope UI and database work