unix aliases, exports, and functions and small improvements