add backup function, add stuff to configure.ac