adding fig config