Changed index to .php, fixed score saving