use printf instead of echo -ne to work in both linux and osx