Randomize transform local axis

At lesson 3.06 in Robotic Planet screws are placed. Can these be rotated random at their local z axis all in one go?

I tried select linked object data and use randomize transform but that gives this result

Orientation is set to Local and pivot to Individual Origins

thanks