The problem is the text won't give the repeats or duration whereas the script above will give those.