Added process check funtionality