detect Command Line in update_visible_thumbnail