Fixed bug in the injector program