My quick hack didn't do what I wanted it to do.