Fixed protocol script not executing