reversed change on AddPublicationData.groovy and using .text() again