initial work on redis scripts