Now creates dest folder and checks for null dirs in resources.