Wired in the ability to play tracks from pirateTracks to generator. Runs when
the module is run in python.