I have posted this question on stackoverflow, but none of the solutions seemed to work easily. It would be great if anyone else here can provide any pointers. Thanks in advance.