Refactored to use dependent tasks even for posts