For your information; I've just found this script from Vietnam to control vps like you as well, it seems to be more lightweight. Maybe it's useful for you to view/customize more in your script in case any feature you like... :D Maybe, you could use GG...