updated script to ignore comments in .env