Remove legacy script