added all_frames injection

Replaced recursive with native script injection