use elif on format switch during plugin install