about to change the thumbnails checkbox to a global variable