Added function to run_list command