Create abstract script runner (prepare JSON script)