Added video detection script