Made minor modification to process manager