Update script files to new api.