an apparatus for mounting a hookplate to a bedrail , including a device that transports bedrails into a hookplate receiving position , a hopper that stores hookplates , a first hookplate pusher sliding under the hopper and pushing a fallen hookplate , a second hookplate pusher clamping onto the hookplate and pushing the hookplate into a hookplate mounting position , a pin supply chamber , pin drivers to determine whether the apertures in the bedrail and hookplate are properly aligned , a holding plate temporarily holding pins , the pin drivers then driving their respective pins into the apertures in the bedrail and hookplate to securely fasten the assembly .