fixed issues with running processes and added helpers.