fixes for importer to skip not-found-elements, empty paths and invalid scripting code