Make aio.sh suitable for CI