changed fig import mode to nicer way.