upgraded convertvideo.sh to videoedit.sh with better organized functionality