Added basic argument support to wam