Adding the config code