£2 million contract awarded to adapt Harrogate school