Base: Improve Arduino injection script for mobile devices