Updated inductor script, now with objects!