use csv to control tasks