fix sed.sh, fix links