Added reconnect script to client