Fix broken script tests

Options Ordering: restore ENV.
Fix tail options.