AI Script Improvements