uses env vars to pass parameters for safe parsing