updated server scripts