How to take screenshot on Fly