Sorry Xaimera you missed my earlier post, your missing the 3 first lines.

I should of done it all in one post.