But Alistair Smith’s 77th-minute strike gave them all three points against Harrogate and created a gap to the chasing pack.