smart download button