changed run_cmd to reflect changes made to load data files