use plan variables in the publish script