Added legdc to save and load previous swing and option values