script for backing up remote wallet