added support for multiple source accounts and updated generating from static text file