Adding the code for configuration