modified cookbook for dotenv variables