Refactored the ascii-block code and updated ustx methods