Tools for reducing ESO data