Added two new tasks for thumbnail generation