add config option to set appropriate task to run