This is actually where all the magic happens.

** Added a few more ecommands.