add task and pass the config path in the options