added option to override encryption key from the command-line