changing way setup task is registered