Revert "remove unnecessary link and script"

This reverts commit 1d2051899ab1f0171dfd16797ecc53b7dddda2cd.