maybe set env could solve saving build output error?