add license writing to mdwriter.py