code backup for dotlink