Video cutting, merging and uploading script