Incorporates scoring system from my own files.

Also includes a cookie system (hopefully it'll work).