$ custom script: normalize path