updates to logging and image capture