added option --delete-original