Added replay playing functionality