Updated action.py