* changed insertTaskParams to work with duplicated task names