wrote script to composite frames into a sequence