Updates to MAIN_for_Grant.py: