make safe load and store scripts