added automation and documentation