For-loop not waiting for completion of 1st movie before starting second loop.