change default ext to jpg