That's exactly it. I even found a decent tutorial on it-

[link|http://www.robvanderwoude.com/index.html|Link]