Added function get_config()