added more rewriting methods
improved round tripping
added script file for easily running multiple pig scripts