upgraded to latest pwc and fixed type in env var