changes to tf listener scope to allow for initialization