need --imagesdir for purge task