Contract paves way for overdue jail improvements