Bug squashing.
Changed the main exec file to just call out the class, wrapping it with some parameter validation logic.