refactor to work with multiple redtail accounts