Update wlfunc.py

Unix support added