2nd script done with reflection