Adding in capabilities for automated playing.