Added a key to disable thumbnail generation