Bash script for running commands on a cluster using screen