I've tried the script a few times. I've tried using all paths, visible paths, and linked paths. None worked.

My source file is an SVG that was exported from illustrator.  Could this be an issue?