Adding get_process_id function stuff