Switched upgrade info to cookies; renamed variables