It would be helpful to have Tasks allow python code to be embedded into the steps. This would improve portability for Tasks that incorporate custom script tools. It would be like an interactive notebook except that the code would be obscured behind the shroud of the task GUI. A notebook cell equating to a task step is exactly the sort of implementation I envision but as with tools in a toolbox, that would require you to send both the task and the notebook to an user.