insertafter: was defined as a function. Now is just a plain script