added purge and compress-images tasks