Simo Valakari's men had to come through a storm at Livingston.