added actions before and after processing. Use case is in case someone wants to switch to another blog before it starts processing.