Base: Improve support for Arduino injection script