I did what I assumed is correct in the edits. Just post my own script in what you deem correct and i'll edit.