Replaced savefig() with FigureSave().