The code that you just pasted above is showing differently than what I pasted. Its your apostrophes.
When I paste the code I posted earlier it works, but when I paste your code it shows errors, and its due to your apostrophes. Maybe your keyboard settings are different or something.
If you can create a temporary login, I can go in and quickly paste the correct code in for you and it will work.