Add the option "target" as parameter "appdir" for the command

Add path for #8302