Added debugging print statements
Use process