Add download functionality