Updating functionality in scripts