use vars as path