adding screenshot capability