Update deployment scripts

    Improve utf-8 support
    Improve tsv parsing