Fix: exit if from sys, not os.
Indexing rip.