in recent years , the group had staged some high-profile attacks in england and mainland europe , but had primarily focused its activities on muslim countries , especially those in turmoil , such as afghanistan and pakistan .