A 14-year-old girl shot in the head during a deadly shooting rampage in southwestern Michigan has left a rehabilitation center.

Mary Free Bed Hospital spokeswoman Betsy Musolf says Abigail Kopf was released Wednesday. Abigail spent six weeks at the Grand Rapids facility and a couple of weeks in another hospital following the Feb. 20 rampage that killed six people and injured another woman.

Abigail says in a video produced by the rehabilitation facility that she's excited to see friends and pets, including her pig, Hamlet.

Uber driver Jason Dalton is charged with murder and attempted murder in the apparently random attacks.

Dalton is due in court Friday for a competency hearing. Defense attorney Eusebio Solis is challenging whether statements Dalton made to police will be admissible at trial.