Server script.