Made saving video optional.