Added unset to source loops and added gembin to PATH