Fix by rename
new arg: outputDir
some fixes regarding action generation