Changed os to ehs to eliminate conflicts with standard Node library.
Added a few more functions and a bit more realistic execute.