switch to use inigo.redirecttocontainer (re #967)