got it back working without the image save, but will look into it again as time permits