here is a link to the DIY thread
it is huge so maybe jump around some, i suspect it has evolved over time.