Replacing hard-coded path with variable