script and server cleaned