Added selectable player Ids and perl Tidied