prototype the bash script