Setting reference for each unplay/replay command to execute.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>