Added the configuration code to return an array