added wigout toggle and interval