Fixing dash compatibility (printf instead of echo -ne)