variable parsing in watermark path