groovy script for globally updating header