updated scripts, made server pass a string instead of a pointer