Refactored Processbuilder