Scripts for IMAGIC-4D