updated install to write to environment specific configs