added screenshot capability