Several DSA fixes / Added Rep payment (without export)