Add server-mode script