added option 'duration' to rosbag play