deterine task name from argv