Fixing odd behavior of echo() by replacing it with printf(). Compacting things by simplifying. Updating README.