Update flowScript.js