Add support for multiple extensions
Add support for multiple extensions
Add tests for multiple extensions.

1. They should work
2. Choose more specific do files over less specific ones.
Strengthen auto generation warnings.
Document multiple extensions and environment variables
updated and regenerated documentation