How do you wire a new grounded plug?

Black wire to copper screw( hot is marked on outlet) white wire to other side silver screw

(neutral,white is marked on back of outlet) and bare copper wire to green screw.

If the outlet box is metal, attach a 4inch bare copper wire too the copper wire with a ground wire nut (has hole through top of nut) now attach to a green ground screw

on the box and to the green screw on the outlet. This is so both are fully grounded,

and code in most areas.