I'm using this stuff that Joacim Andersson wrote.