Pig generator was fixed

Output generator has a new and improved output format