Extended class with method to write new environment to env file.
Removed unneeded return true.
Added new method to test definitions on testExecute.
Updated description for the $path option to be accurate.