Updating old example scripts