changed rename to rely mostly on inner files and now allow deletion of unwanted files as per delete_bad_release in config