refactored and added auto-destination.txt creation
refactored and added auto-destination.txt creation