Updated runws and wstuff

I added revised versions that only have the functions we are currently
using in them.