adding fig dir