Don't use errexit
Use proper quoting
Explicit export on one line