The ALFOSC control software was improved to include an automatic switch-off of all the lamps and the retraction of the calibration unit when exiting the UIF. Also, the status of the mirror and the different lamps is now added to the FITS headers of the data files.