fix errors about readlink & sed
fix sed error

sed does not support '+' expression on mac os
update help text