That worked. Can you put that into a bash script?