ext - make it append a script rather than eval the code