add set term thumbnails function
add version constant