Changed order of sections so compilation comes before routing