change weight_line to weight_gline and weight_wline
change read_monte_carlo_conf