You'll need to run that as root also. So invoke that script using execroot as you did for restartbme.