Updated injector.c file