Add Pig Script for Handling Detailed Statuses