updated configure.ac
added generic function to send files