improve html rendering
write to cards.html instead of stdout