Fix check for errors and reduce number function arguments
Add function to copy articles to corresponding blog