updated encryption scripts to allow custom password