Updated pre- and post- parsing command library with a more generic combine_with_delaytrain function.