Try the above code (post 7) and let me know if you face any issues.