modify spaceship+purchase.py