I thought there was already a generic plugin for this :(. Let's wait for one then ha, or I may just make one.