fix #30

Changed interpreter from bash to sh & use of xxd instead of "echo -e"