moving secret key to environ