combine image moment scripts