added Figures folder robustness