Now the config is written in consideration of the after statements. Close #2.