Updated syntax in casmo.py file