updated scores to add median listing and added indexes