Removed debugging lines
Added a check to search the output directories for duplicate video files