changed device to 'png' and figure position status to 'hp'.