added code to dynamically reconfigure exposure and other params