Updated convert_to_server script