Update harp script content on edit, for correct invocation.