truly fixed setup script to pull fresh unique names from db