Removing ccn_run from write_data