making automatic maximizing configurable