Detect task arguments dynamically