Added wam.py for scripting