Added abilility to change databases for pull and restore