Better process handling