convert some hard-coded paths to environment variables