Refactoring / Fixing Reference to existing function
Automatically set DKPRO_HOME, added overwrite via parameter