removed the close in the client scripts