Changed to using printscreen to take screenshots