execute tasks requires arguments and should not use the global variable