adding :delete_source and :source_glob options

please review and incorporate if this works for you