Can you clarify why this doesn't work on the task (i.e. if the client script is also applied to the task)?