working hex save procedure (test string inside)