log fn now appends, added clear.sh