Max Leave added to General Setting