Added dynamic player mapping functionality