Updated C helper files