make download and delete optional