add debug to domain server if script not saved