Changed example of lightcurve io