updated automation scripts