updated scripting window to remove highlight after it is finished