add m file to process images