Fix missing location code
Add pes_export command