export scripts for lossless file