finished redis deployment script