Updating spacestatechange.py with r3boots changes and some more additions