fixed seg fault by putting puts output into single quotes
NOTE: I don't know why this works! I assume it is because puts calls
echo and echo tries to do expand stuff inside the string