updated pig file to work with local env