adds back in download functionality