Adding secret_key setting