Starting to write a script to automate the automake process