adding client/server scripts