adding download switch