Fixed the problem with path gen and islands.