Deleted try-catch in getEnvVars() for simplicity