He wrote three books based on episodes of the series . They were simultaneously published in hardback and paperback . Ian Mackintosh wrote three books based on the series , which were simultaneously published in hardback and paperback .