Turnaround hope for secondary once branded Scotland's worst