LAI-5 Input and Ouput processing improvements for the pipeline