[pergola] changing some prints to stderr