Added logic for 'smart open' options-container