Updating main.py (SPS parameters)