Fixing the runtime script