Add autosubmit feature.