allow both extension and extensions
Merge pull request #16 from featurist/lenient_extensions

allow both extension and extensions