Replaced path with variable for path