Redis related scripts