Server script fix