Make path dynamic