this might break so I'm putting it in a new script and will switchover if it works.