sorry everyone, found the culprit, turns out the answerfile was corrupted 🤬, tested with a dummy task sequence thus blank answer file and then copied the basic answer file into my other task sequence and all the custom tasks worked correctly.
back to the drawing board with the answer file