Make scripts more ubuntu-friendly

Following Janne's suggestions.
Also use echo "-e" to interpret newlines in messages.