Use args[0] to adjust rootPath and make using this generator easier.