Modules now use the array of possible extensions