save backups for link conversions and some refactoring