added logging
added --force option