Gateway scheduled Script issue

Thanks for the information