Add script from @jcadduono for encryption