Anand - added screenshot functionality