Change explicit paths to use a variable