Added terms cost and revenue, and imports posts data