Updated spacestate script to adhere to 0.13 draft specifications.