fixed typo and added redis script generator