modifying FinalProcess.py