Adding dependency injection script.