Server control scripts for safely accessing internal functions from the web