trying to add autoclicking to upgrade calculations