@Lindrian ah thanks.
This was ment to be an update on one of my old scripts but for some reason it made it as a new post =/