Added features to play command.