Updated to handle additional options and multiple sliders
Updated to handle additional options and multiple sliders