added proper backup routine plus terminal prompt