I think you want something along the lines of the attached patch, although I have not tested this and there may be a more elegant way to do it.
I think you want something along the lines of the attached patch, although I have not tested this and there may be a more elegant way to do it.