working on refactoring the code to post to URLs, files, and channels --- URLs are done