video recording script
add preview to recording script