script merge & compress.