Refactored subprocess stuff