Revert "update scripts"

This reverts commit d14da247dcb27cf3c81fcff2113c70bdee9f4630.
fix setuid issue