Env vars not working, maybe use APR?