Combine path checks into main ForEach loop. Make-Shortcut() and
Rewrite-Startscript() functions to embed those as $tasks too.