updated environment variables to enable more configuration options from the command line.  Also figured out the encryption/decryption.