script PIG