Removed sed, awk, and tr as dependencies. Improved bash compatibility.
Technically there is still one awk for a function that probably won't see any use.