add rosbag option for set loop