update script to new version of engine