read slides config from opts