@Acer
Just do it, there is nothing special. But usually it's best if you execute the script with sudo instead, because otherwise your user would have to blindly trust you, or inspect the code.
I tried to execute this with sudo, but it seems that the user/group changed
because I need to re-login into some services when I run sudo ./<script>