You may want to post it as a new question, just because since this one is closed it's not going to be very visible to other experts who may have different / better solutions (but I'd refer back to this one for the ground work that's already been done).