Set display variable in script