add auto schema option (when missing -s)