auto screenshots generation and thumbnail