Does http://bpaste.net/show/144990/ address your concern?