- little fix to generate command with programPath