the start of a shell script to automate the process