made overlay options configurable