fix relative path foo for bin scripts