Use variables in script