Fix javamop script