Fixed a few bugs in redis_container script