Made resource monitoring globally available and implemented support for server-sided scripting