(feat) make download button conditional