Modified run() to execute if there is a single model added with no links.