Now the server script works properly but there is a limitation in the server script doctype.
Please check it.