mp4 port to HMscript