Seems like there's no option but to use variables only in the very last directory of a three. Thanks for your answer.