I think this needs to be double quotes for Groovy to do the variable replacement.