using new screenshot grabbing code