I might make this more complex and then add it to my main. But for now its here. Use at your own risk.