added run_cosmos.py