if you can automate this better than my attempt it would be wonderful good luck