added option to download images directory