No more stdin processing for scripts. Untested.