pass task name as argument instead of reading from STDIN