automate bash script