Added command line options to loadvideo script