Update AutomaticCasting.py