How can i uses this script from igniton v 7.9 to ignition 8.1 to load recipe

Please post formated code, not pictures of code. See Wiki - how to post code on this forum.

Tip: when posting images crop them. 75% of your screenshot is whitespace.