another attempt at automating screenshooter