remove variables from the instance script so as not to pollute the global namespace