prepare-runtime script updated