Added encryption support to install script.