correction of makelocal.sh