modified options to handle both desktop and mobile framework