The discovery that the dry fibres of jute could be lubricated with whale oil (of which Dundee had a surfeit, following the opening of its gasworks) to allow it to be processed in mechanised mills resulted in the Dundee mills rapidly converting from linen to jute, which sold at a quarter of the price of flax.