add ioredirect