Added iteration-based script loading and mimicing