Fixed upgrade system.

Note: Score system gives more points than intended.