Added env var to set replication factor