Server management scripts and session handler.