Update scripts to use .env