Fixed small bugs and added $config['encryption_key']