a script to generate a stopmotion movie from given pictures