In reply to Brandon Kraft.

Thank you for answering, I have found a piece of code in the internet to tackles this issue.