made sending the image python side a little nicer
added some more back and forth so sending images works a little nicer