Allow execution of multiple statements. Add _index variable