Fix action script execution