slight formatting changes to run_cosmicx.py