Update main script

I really love this script, found it online but it doesn't work with the new 2014 Facebook and all its security. Now it does assuming you don't have CodeGenerator turned on.
Merge pull request #4 from Duffleman/patch-1

Update main script