Updated to use JPG format by default.