Update main.py

Make main.py in step 4 consistent with main.py in the other steps