Thanks for the update Owen, I was really pulling my hair outover this one.
Having very little experience with traffic script I ofcourse took the approach I was doing something wrong.