Added logging; removed dry-run