Added scripts to server and client