add download folders logic