resolve script links for local repo